<!--

function breadCrumb(pageData) {
   separator = " <span class=\"breadcrumbCaret\">\&gt;</span> ";
   siteHome  = "Site Home";
   linkOpen  = "<a class=\"breadcrumbLink\" href=\"/";
   linkJoin  = "\">";
   linkClose = "</a></span>";

// portalpal~portal pal/admin~administration/updating content
// tools/authoring/html

   if (pageData) {

      tempData  = pageData.split('/');
      parts     = tempData.length;
      bcParts   = new Array(1);
      bcNames   = new Array(1);
      bcPaths   = new Array(1);

      for ( i = 0; i < parts; i++ ) {
         tempParts = tempData[i].split('~');
         bcParts[i] = tempParts[0];
         bcNames[i] = tempParts[1]; 
         if (!(bcNames[i])) {
            bcNames[i] = bcParts[i];
         }
      }
      for ( i = 0; i < parts; i++ ) {
         bcPaths[i] = ""; 
         for ( j = 0; j < i; j++ ) {
            bcPaths[i] = bcPaths[i] + bcParts[j] + "/"; 
         }
      }

      document.write(linkOpen + linkJoin + siteHome + linkClose);   

      for ( i = 0; i < parts - 1; i++ ) {
         document.write(separator + linkOpen + bcPaths[i + 1] + linkJoin + bcNames[i] + linkClose);   
      }
      document.write(separator + bcNames[parts - 1]);
   } else {
      document.write(siteHome);
   }
}

//-->
